package com.dao;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.bean.Change;
import com.bean.Marketing;
@Transactional(propagation=Propagation.REQUIRES_NEW,readOnly=false,isolation=Isolation.DEFAULT)
public interface ChangeMapper {
	public int ins(Change bean);
	
	
	  List<Change> selectAll();
	    List<Change> selectAll1();
	    Change selectByid(Integer id);
	    
	    public int updateState(Map map); 

		
	    
}
